package com.gmd.model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the signovital database table.
 * 
 */
@Entity
@Table(name="signovital")
public class Signovital implements Serializable {
	private static final long serialVersionUID = 1L;
	private int idsignovital;
	private double frecardiaca;
	private double fresp;
	private double parterial;
	private double peso;
	private double talla;
	private double temperatura;
	private Historiaclinica historiaclinica;

	public Signovital() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(unique=true, nullable=false)
	public int getIdsignovital() {
		return this.idsignovital;
	}

	public void setIdsignovital(int idsignovital) {
		this.idsignovital = idsignovital;
	}


	public double getFrecardiaca() {
		return this.frecardiaca;
	}

	public void setFrecardiaca(double frecardiaca) {
		this.frecardiaca = frecardiaca;
	}


	public double getFresp() {
		return this.fresp;
	}

	public void setFresp(double fresp) {
		this.fresp = fresp;
	}


	public double getParterial() {
		return this.parterial;
	}

	public void setParterial(double parterial) {
		this.parterial = parterial;
	}


	public double getPeso() {
		return this.peso;
	}

	public void setPeso(double peso) {
		this.peso = peso;
	}


	public double getTalla() {
		return this.talla;
	}

	public void setTalla(double talla) {
		this.talla = talla;
	}


	public double getTemperatura() {
		return this.temperatura;
	}

	public void setTemperatura(double temperatura) {
		this.temperatura = temperatura;
	}


	//bi-directional many-to-one association to Historiaclinica
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="idhistoriaclinica", nullable=false)
	public Historiaclinica getHistoriaclinica() {
		return this.historiaclinica;
	}

	public void setHistoriaclinica(Historiaclinica historiaclinica) {
		this.historiaclinica = historiaclinica;
	}

}